<?php

namespace App\Trip\Enums\Plane;

enum PlaneTypes: string
{
    case KONG_KE = '空客';
    case BO_YIN  = '波音';
    case BA_GONG = '巴工'; //巴西航空

    case SHANG_FEI = '商飞';

    public function getNameUy(): string
    {
        return match ($this) {
            self::KONG_KE, self::BO_YIN, self::BA_GONG, self::SHANG_FEI => trans2uy($this->value),
        };
    }


}
